﻿#ifndef LOGIN_H
#define LOGIN_H

#include "sqlitebasic.h"

#include <QMainWindow>
#include <QPainter>
namespace Ui {
class login;
}

class login : public QMainWindow
{
    Q_OBJECT

public:
    explicit login(QWidget *parent = nullptr);
    ~login();


    static int getLogin_admin();

    void table_Init();

    void date_Init();

private slots:
    void on_index_login_clicked();
    void paintEvent(QPaintEvent * event);

    void on_dataBase_btn_clicked();

private:
    Ui::login *ui;
    SqliteBasic *sqb;
    static int login_admin;


};

#endif // LOGIN_H
